package org.jeecg.modules.scm.vo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecg.common.aspect.EnableDict;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 供应链关联的和上下游客户的Vo
 *
 * @Author: zzq
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "供应链关联查询回显的Vo对象")
public class SupplyChainVo implements Serializable, EnableDict {
    private static final long serialVersionUID = 1L;

    /**id*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**上下游客户号*/
    @ApiModelProperty(value = "上下游客户号")
    private String relevantCusNo;
    /**核心客户名称*/
    @ApiModelProperty(value = "核心客户名称")
    private String coreCusName;
    /**项目名称*/
    @ApiModelProperty(value = "项目名称")
    private String itemName;
    /**上下游客户名称*/
    @ApiModelProperty(value = "上下游客户名称")
    private String relevantCusName;
    /**供应链关联关系*/
    @ApiModelProperty(value = "供应链关联关系")
    @Dict(dicCode = "sc_relation")
    private String relationInChain;
    /**状态*/
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "sc_status")
    private Integer state;
    /**平台所属机构*/
    @ApiModelProperty(value = "平台所属机构")
    private String platformAffiliation;
    /**平台管户经理*/
    @ApiModelProperty(value = "平台管户经理")
    private String cusManager;
    /**建立日期*/
    @Excel(name = "建立日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "建立日期")
    private Date createTime;
    /**建立用户*/
    @Excel(name = "建立用户", width = 15)
    @ApiModelProperty(value = "建立用户")
    private String createBy;
    /**最后修改日期*/
    @Excel(name = "最后修改日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最后修改日期")
    private Date updateTime;
    /**最后修改用户*/
    @Excel(name = "最后修改用户", width = 15)
    @ApiModelProperty(value = "最后修改用户")
    private String updateBy;


}
